package com.fieldchain.ex.fa100.utils.recycler;

import android.content.Context;

public class RecyclerDividerTop extends BaseDividerItemDecoration {
    public RecyclerDividerTop(Context context, float lineWidthDp, int colorRGB) {
        super(context, lineWidthDp, colorRGB);
    }

    @Override
    public boolean[] getItemSidesIsHaveOffsets(int itemPosition) {
        //顺时针顺序:left, top, right, bottom
        boolean[] isOffset = {false, true, false, false};
        //默认只有bottom显示分割线
        return isOffset;
    }

}
